package com.translate.web.param;
import java.math.BigDecimal;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

import com.translate.web.constant.ValidateCondtionAndMessage;
import com.translate.web.param.contract.IOrderAddParam;
public class OrderAddParam implements IOrderAddParam {// 订单标识
@NotNull
@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
private String orderSnId;
// 服务价格

private BigDecimal servicePrice;
// 服务类型 0 基础服务  1  数据作图与科研绘图服务
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte serviceType;
// 字数
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer wordSize;
// 用户【编号】
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer userId;
// 目标期刊
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer targetJournal;
// 支付时间
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer payTime;
// 完结时间
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer overTime;
// -1：取消订单；0  待支付，1待确认，2待派搞, 3 待处理, 4 处理中，5，已返搞

private Boolean orderStatus;
// 评价状态 0未评价 1已评价

private Boolean commentStatus;
// 语言配置服务编号
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer languageServiceId;
// 支付类型编号
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer payType;
// 订单备注
@NotNull
@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
private String remarks;
// 0正常1 已支付 又改为 未支付了

private Boolean status;
// 1需要发票，0不需要

private Boolean translate;
// 是否加急 0 否 1是
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte urgent;
// 平台[：0代表pc，1代表app 2 wap, 3微商城]
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte platform;
// 订单类型0普通订单1货到付款

private Boolean orderType;
// 优惠券抵扣金额

private Float couponDeductible;
// 专业领域
@NotNull
@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
private String professionalField;
// 文章标题
@NotNull
@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
private String article;
// 格式 0 latex 1 word
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte format;
// 支付管理id
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer payManagerId;
// 推荐篇数
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte recommendNumber;
// 处理人
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Long processed;
// 团队id 0 代表没有团队
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer teamId;
// 服务状态【0 初始 1 反馈 2 售后】
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte serviceStatus;
// 处理日期
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Long parseTime;



public String getOrderSnId() {
        return orderSnId;
    }
public void setOrderSnId(String orderSnId) {
        this.orderSnId = orderSnId == null ? null : orderSnId.trim();
    }
public BigDecimal getServicePrice() {
        return servicePrice;
    }
public void setServicePrice(BigDecimal servicePrice) {
        this.servicePrice = servicePrice;
    }
public Byte getServiceType() {
        return serviceType;
    }
public void setServiceType(Byte serviceType) {
        this.serviceType = serviceType;
    }
public Integer getWordSize() {
        return wordSize;
    }
public void setWordSize(Integer wordSize) {
        this.wordSize = wordSize;
    }
public Integer getUserId() {
        return userId;
    }
public void setUserId(Integer userId) {
        this.userId = userId;
    }
public Integer getTargetJournal() {
        return targetJournal;
    }
public void setTargetJournal(Integer targetJournal) {
        this.targetJournal = targetJournal;
    }
public Integer getPayTime() {
        return payTime;
    }
public void setPayTime(Integer payTime) {
        this.payTime = payTime;
    }
public Integer getOverTime() {
        return overTime;
    }
public void setOverTime(Integer overTime) {
        this.overTime = overTime;
    }
public Boolean getOrderStatus() {
        return orderStatus;
    }
public void setOrderStatus(Boolean orderStatus) {
        this.orderStatus = orderStatus;
    }
public Boolean getCommentStatus() {
        return commentStatus;
    }
public void setCommentStatus(Boolean commentStatus) {
        this.commentStatus = commentStatus;
    }
public Integer getLanguageServiceId() {
        return languageServiceId;
    }
public void setLanguageServiceId(Integer languageServiceId) {
        this.languageServiceId = languageServiceId;
    }
public Integer getPayType() {
        return payType;
    }
public void setPayType(Integer payType) {
        this.payType = payType;
    }
public String getRemarks() {
        return remarks;
    }
public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }
public Boolean getStatus() {
        return status;
    }
public void setStatus(Boolean status) {
        this.status = status;
    }
public Boolean getTranslate() {
        return translate;
    }
public void setTranslate(Boolean translate) {
        this.translate = translate;
    }
public Byte getUrgent() {
        return urgent;
    }
public void setUrgent(Byte urgent) {
        this.urgent = urgent;
    }
public Byte getPlatform() {
        return platform;
    }
public void setPlatform(Byte platform) {
        this.platform = platform;
    }
public Boolean getOrderType() {
        return orderType;
    }
public void setOrderType(Boolean orderType) {
        this.orderType = orderType;
    }
public Float getCouponDeductible() {
        return couponDeductible;
    }
public void setCouponDeductible(Float couponDeductible) {
        this.couponDeductible = couponDeductible;
    }
public String getProfessionalField() {
        return professionalField;
    }
public void setProfessionalField(String professionalField) {
        this.professionalField = professionalField == null ? null : professionalField.trim();
    }
public String getArticle() {
        return article;
    }
public void setArticle(String article) {
        this.article = article == null ? null : article.trim();
    }
public Byte getFormat() {
        return format;
    }
public void setFormat(Byte format) {
        this.format = format;
    }


public Integer getPayManagerId() {
        return payManagerId;
    }
public void setPayManagerId(Integer payManagerId) {
        this.payManagerId = payManagerId;
    }
public Byte getRecommendNumber() {
        return recommendNumber;
    }
public void setRecommendNumber(Byte recommendNumber) {
        this.recommendNumber = recommendNumber;
    }
public Long getProcessed() {
        return processed;
    }
public void setProcessed(Long processed) {
        this.processed = processed;
    }
public Integer getTeamId() {
        return teamId;
    }
public void setTeamId(Integer teamId) {
        this.teamId = teamId;
    }
public Byte getServiceStatus() {
        return serviceStatus;
    }
public void setServiceStatus(Byte serviceStatus) {
        this.serviceStatus = serviceStatus;
    }
public Long getParseTime() {
        return parseTime;
    }
public void setParseTime(Long parseTime) {
        this.parseTime = parseTime;
    }
}